﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common
{
    public class daconn
    {
        public static IDbConnection GetConnection()
        {
            string connStr = ConfigurationManager.ConnectionStrings["jfconstr"].ConnectionString;
            return new SqlConnection(connStr);
        }
    }
}
